package com.luo.stu;

/**
 * @author: luosiyu
 * @Description:
 * @Version: 1.0
 */

public class test_3 {
    public static void main(String[] age){
//        Student student = new Student("101","Zhang",78,85,77);
//        student.disp();
//        student.sum();
        Student[] students = new Student[]{
                new Student("101","Zhang",78,85,77),
                new Student("102","Zhang",78,85,77),
                new Student("103","Zhang",78,85,77),
        };
        for (int i = 0; i <students.length;i++){
            students[i].disp();
            students[i].sum();

        }
    }

}
